<template>
    <div class='w100 h100' :id="kmmser"></div>
</template>
<script lang='ts' setup>
import { ref, nextTick } from "vue"
let player = null
let props = defineProps({
    url: { type: Object }
})
const kmmser = ref()
kmmser.value ='asd'+ new Date().getTime()+Math.floor(Math.random()*100000+1)
nextTick(() => {
    player = new window.Player({
        id: kmmser.value,
        url: props.url,
        "playsinline": true,
		"whitelist": [
				""
		],
		"autoplay": true
    });
    player.start()
})






</script>
<style scoped>

</style>